package com.sinochem.iot.rule.model;

import java.util.Date;

public class TriggerRuleDetail {
    /**
     * 
     */
    private Integer id;

    /**
     * 规则id
     */
    private Integer ruleId;

    /**
     * 用户标识##产品标识##设备标识
     */
    private String useridentifyProductidentifyDeviceidentify;

    /**
     * 属性标识符号
     */
    private String propertyIdentify;

    /**
     * 具体规则明细，比如{"condition":">30","rule":"触发短信报警"}
     */
    private String ruleDetail;

    /**
     * 添加时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 
     */
    private Byte status;

    /**
     *
     * @mbggenerated
     */
    public TriggerRuleDetail(Integer id, Integer ruleId, String useridentifyProductidentifyDeviceidentify, String propertyIdentify, String ruleDetail, Date createTime, Date updateTime, Byte status) {
        this.id = id;
        this.ruleId = ruleId;
        this.useridentifyProductidentifyDeviceidentify = useridentifyProductidentifyDeviceidentify;
        this.propertyIdentify = propertyIdentify;
        this.ruleDetail = ruleDetail;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.status = status;
    }

    /**
     *
     * @mbggenerated
     */
    public TriggerRuleDetail() {
        super();
    }

    /**
     * 
     * @return id 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 规则id
     * @return rule_id 规则id
     */
    public Integer getRuleId() {
        return ruleId;
    }

    /**
     * 规则id
     * @param ruleId 规则id
     */
    public void setRuleId(Integer ruleId) {
        this.ruleId = ruleId;
    }

    /**
     * 用户标识##产品标识##设备标识
     * @return useridentify_productidentify_deviceidentify 用户标识##产品标识##设备标识
     */
    public String getUseridentifyProductidentifyDeviceidentify() {
        return useridentifyProductidentifyDeviceidentify;
    }

    /**
     * 用户标识##产品标识##设备标识
     * @param useridentifyProductidentifyDeviceidentify 用户标识##产品标识##设备标识
     */
    public void setUseridentifyProductidentifyDeviceidentify(String useridentifyProductidentifyDeviceidentify) {
        this.useridentifyProductidentifyDeviceidentify = useridentifyProductidentifyDeviceidentify == null ? null : useridentifyProductidentifyDeviceidentify.trim();
    }

    /**
     * 属性标识符号
     * @return property_identify 属性标识符号
     */
    public String getPropertyIdentify() {
        return propertyIdentify;
    }

    /**
     * 属性标识符号
     * @param propertyIdentify 属性标识符号
     */
    public void setPropertyIdentify(String propertyIdentify) {
        this.propertyIdentify = propertyIdentify == null ? null : propertyIdentify.trim();
    }

    /**
     * 具体规则明细，比如{"condition":">30","rule":"触发短信报警"}
     * @return rule_detail 具体规则明细，比如{"condition":">30","rule":"触发短信报警"}
     */
    public String getRuleDetail() {
        return ruleDetail;
    }

    /**
     * 具体规则明细，比如{"condition":">30","rule":"触发短信报警"}
     * @param ruleDetail 具体规则明细，比如{"condition":">30","rule":"触发短信报警"}
     */
    public void setRuleDetail(String ruleDetail) {
        this.ruleDetail = ruleDetail == null ? null : ruleDetail.trim();
    }

    /**
     * 添加时间
     * @return create_time 添加时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 添加时间
     * @param createTime 添加时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 修改时间
     * @return update_time 修改时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 修改时间
     * @param updateTime 修改时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 
     * @return status 
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 
     * @param status 
     */
    public void setStatus(Byte status) {
        this.status = status;
    }
}